package com.benbi.shequapi.service;

import com.benbi.shequapi.utils.Result;

import java.util.Date;

public interface PersonService {
    Result getPersonById(int pid);
    Result getPersonByPhone(String phone);
    Result personLogin(String account, String password, int type);
    Result personSignup(int type, String phone, String password, String name, String civilId, int gender, Date birthdate, String bno, String room, int cid);
    Result queryPerson(String keyword, int mode);
}
